Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclusively OpenXR for Android/PCVR #798

Draft
wants to merge 28 commits into
base: main
Choose a base branch
from
Draft

Conversation

mikeskydev
Copy link
Member

@mikeskydev mikeskydev commented Dec 16, 2024

This PR implements the early stages of https://github.com/mikeskydev/unity-openxr-extensions, moving away from vendor specific XR SDKs towards using OpenXR for as many features as possible.

TODO:

  • Fix up AndroidManifest; some things are implemented in the package, others should be.
  • Switch MX Ink to OpenXR; I believe this was already partially done.
  • Test Pico a bit more thoroughly.
  • Re-orient pico controllers

This removes dependency on the Oculus Core SDK and the Pico SDK, allowing us to use the same codepath. Annoyingly our package name is still different on Oculus, so we have to do a separate build. @mikeage could we consider using apktool to hack our own package as a post-build step, rather than building twice?

Oculus Passthrough is delivered via the new upm package, and as a plus we get passthrough on Pico and Quest PCVR!

Oculus Platform is required for age check (and some MR features that are currently commented out), but we check which platform we're running on before initializing, otherwise it can crash non-oculus android devices. I will reimplement the MR features in my OpenXR package at a later date.

Wave is removed (never actually used, and we can do it properly with OpenXR), as is the Pimax build, getting our current builds down to 6.

Closes #447

@mikeskydev mikeskydev added the enhancement Feature added label Dec 16, 2024
@mikeskydev mikeskydev mentioned this pull request Dec 16, 2024
@mikeage
Copy link
Member

mikeage commented Dec 16, 2024

apktool may be a drop problematic; we have to make sure it's signed properly. But it's probably possible. Maybe a followup PR?

.github/workflows/build.yml Show resolved Hide resolved
Assets/Plugins/Android/AndroidManifest.xml Outdated Show resolved Hide resolved
@mikeskydev
Copy link
Member Author

Yeah it can be a followup, I'm hoping we can make the change then re-sign as we have our original keys

@mikeskydev mikeskydev changed the title Exclusively OpenXR for Android Exclusively OpenXR for Android/PCVR Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature added
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Passthrough to Pico family of headsets
2 participants